/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BLO;

import DAO.Result;
import DAO.ResultsModel;
import DAO.TraCuuDAO;
import DTO.CAUTHU;
import DTO.DOIBONG;
import DTO.HLV;
import DTO.TRONGTAI;

/**
 *
 * @author LUCKYSTARS
 */
public class TraCuuBLO {
  TraCuuDAO tcDAO = new TraCuuDAO();
  /*public ResultsModel GetDataCT()
      {
        return tcDAO.GetDataCT();
      }
      public ResultsModel GetdataDB()
    { 
        return  tcDAO.GetdataDB();
    }*/
      
      //Lay du lieu tim kiem
      //TIM THEO CAU THU
      public ResultsModel TimCTtheoMaCT(CAUTHU ct)
      {
          return tcDAO.TimCTtheoMaCT(ct);
      }
       public ResultsModel TimCTtheoTenCT(CAUTHU ct)
      {
        return  tcDAO.TimCTtheoTenCT(ct);
      }
        public ResultsModel TimCTtheoQTCT(CAUTHU ct)
      {
            return tcDAO.TimCTtheoQTCT(ct);
      }
         public ResultsModel TimCTtheoDB(CAUTHU ct)
      {
       return  tcDAO.TimCTtheoDB(ct);
      }
          public ResultsModel TimCTtheoVT(CAUTHU ct)
      {
          return tcDAO.TimCTtheoVT(ct);
      }
      // TIM KIEM THEO DOI BONG
       public ResultsModel TimDBtheoMaDB(DOIBONG db)
    { 
       return tcDAO.TimDBtheoMaDB(db);
    }
    public ResultsModel TimDBtheoTenDB(DOIBONG db)
    { 
       return tcDAO.TimDBtheoTenDB(db);
    }
    public ResultsModel TimDBtheoHLVDB(DOIBONG db)
    { 
       return tcDAO.TimDBtheoHLVDB(db);
    }
    public ResultsModel TimDBtheoSanDB(DOIBONG db)
    { 
       return tcDAO.TimDBtheoSanDB(db);
    }
      //Trong Tai 
        //-----------------------------------------------------------------------------------------
        
     public ResultsModel TimTTTheoMaTT(TRONGTAI tt)
     {
        return tcDAO.TimTTTheoMaTT(tt);
     }    
    
     
     public ResultsModel TimTTTheoTenTT(TRONGTAI tt)
     {
        return tcDAO.TimTTTheoTenTT(tt);
     }
     
     public ResultsModel TimTTTheoQuocTichTT(TRONGTAI tt)
     {
        return tcDAO.TimTTTheoQuocTichTT(tt);
     }
     //HLV 
     //--------------------------------------------------------------------------------
     public ResultsModel TimHLVTheoMaHLV(HLV hlv)
     {
         return TimHLVTheoMaHLV(hlv);
     }
      public ResultsModel TimHLVTheoTenHLV(HLV hlv)
     {
         return TimHLVTheoTenHLV(hlv);
     }
       public ResultsModel TimHLVTheoQuocTichHLV(HLV hlv)
     {
         return TimHLVTheoQuocTichHLV(hlv);
     }
}


